home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / GRAPHICS / GMSMTH01.ZIP / INCLUDE / BLIT13.H next >
Encoding:
C/C++ Source or Header  |  1995-12-15  |  1.1 KB  |  34 lines

  1. /*
  2.  
  3. some random mode13 stuff
  4.  
  5. copyright 1995 Alexander J. Russell
  6. All rights reserved
  7.  
  8. */
  9.  
  10. #ifndef DEF_13BLIT
  11. #define DEF_13BLIT 1
  12.  
  13. #include <g_def.h>
  14. #include <palette.h>
  15.  
  16. void put_blit(FARPTR buffer, short x, short y, short width, short height);
  17. void put_blit_packed(FARPTR buffer, short x, short y, short width, short height);
  18. void put_blit_clipped(FARPTR buffer, short x, short y, short full_width,
  19.                       short d_x, short d_y, short width, short height);
  20. void get_blit(FARPTR buffer, short x, short y, short width, short height);
  21. // void move_left(short x, short y, short width, short height, short dist);
  22. // void move_right(short x, short y, short width, short height, short dist);
  23. void put_pixel(short x, short y, BYTE color);
  24. void horz_line(short x, short y, short len, BYTE color);
  25. void vert_line(short x, short y, short len, BYTE color);
  26. void line(short x0, short y0, short x1, short y1, BYTE color);
  27. void clear_screen(BYTE color);
  28. void draw_rect(short x, short y, short width, short height, BYTE color);
  29. void wait_vert(void);
  30. void wait_not_vert(void);
  31. void page_flip(void);
  32.  
  33. #endif
  34.